package com.mutual.assistance.system.converter;

import com.mutual.assistance.system.model.dto.DictionaryDTO;
import com.mutual.assistance.system.model.po.DictionaryPO;
import org.mapstruct.Mapper;

import java.util.List;

/**
 * @author chenyuxin
 * @version 1.0
 * @description 数据字典表转换
 * @date 2023/4/24 17:32
 */
@Mapper(componentModel = "spring")
public interface SystemConverterParams {

    DictionaryDTO dictionaryPO2DictionaryDTO(DictionaryPO dictionaryPO);


    List<DictionaryDTO> dictionaryPO2DictionaryDTOList(List<DictionaryPO> dictionaryPOList);
}
